﻿mainModule.filter('dictionary', ["dictionaryCacheSvc", function (dictionaryCacheSvc) {
    "use strict";
    return function (input, type) {
        if (typeof (input) !== "undefined" && typeof (type) !== "undefined")
            return dictionaryCacheSvc.get(type, input);
        else
            return input;
    };
}]);